convertHSLtoRGB

open fun convertHSLtoRGB(hue: Float, saturation: Float, luminance: Float): Color

Convert a hue, saturation and luminance color value to the standard AWT Color object.

Return

A java.awt.Color object closely matching the hue, saturation and luminance parameters.

Parameters

hue

The hue of the color from 0.0 to 360.0

saturation

The saturation of the color from 0.0 to 1.0

luminance

The luminance (brightness) of the color from 0.0 to 1.0